home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1999 May: Tool Chest / Developer CD Series Tool Chest (Apple Computer)(May 1999).iso / Tool Chest / Development Kits / MPW etc / MPW-GM / MPW / Examples / PPCExamples / AExamples / AsmSample / AsmSample.r < prev   
Encoding:
Text File  |  1998-12-03  |  2.2 KB  |  120 lines  |  [TEXT/MPS ]

  1. /* 
  2.     AsmSample.r
  3.     -    contains resources for AsmSample application.
  4.     
  5.     v1        10/9/93        PMR
  6.     v2         1/7/94     fpf
  7.     v3        06/10/98    GAB        compatible with 3.1 interfaces    
  8. */ 
  9.  
  10. #include "Types.r"
  11. #include "SysTypes.r"
  12. #include "CodeFragmentTypes.r"
  13.  
  14. resource 'ALRT' (128) {
  15.     {43, 39, 141, 287},
  16.     128,
  17.     {    
  18.         OK, visible, sound1,
  19.         OK, visible, sound1,
  20.         OK, visible, sound1,
  21.         OK, visible, sound1
  22.     },
  23.     centerMainScreen
  24. };
  25.  
  26. resource 'DITL' (128) {
  27.     {    {53, 144, 73, 210},
  28.         Button {
  29.             enabled,
  30.             "Hello"
  31.         },
  32.         {53, 36, 73, 102},
  33.         Button {
  34.             enabled,
  35.             "Goodbye"
  36.         },
  37.         {20, 50, 38, 189},
  38.         StaticText {
  39.             disabled,
  40.             "Choose A Message…"
  41.         }
  42.     }
  43. };
  44.  
  45. resource 'ALRT' (129) {
  46.     {40, 40, 139, 288},
  47.     129,
  48.     {    OK, visible, sound1,
  49.         OK, visible, sound1,
  50.         OK, visible, sound1,
  51.         OK, visible, sound1
  52.     },
  53.     centerMainScreen
  54. };
  55.  
  56. resource 'DITL' (129) {
  57.     {    {59, 92, 79, 150},
  58.         Button {
  59.             enabled,
  60.             "OK"
  61.         },
  62.         {12, 14, 42, 238},
  63.         StaticText {
  64.             disabled,
  65.             "^0"
  66.         }
  67.     }
  68. };
  69.  
  70.  
  71. resource 'SIZE' (-1) {
  72.     reserved,
  73.     ignoreSuspendResumeEvents,
  74.     reserved,
  75.     cannotBackground,
  76.     notMultiFinderAware,
  77.     backgroundAndForeground,
  78.     dontGetFrontClicks,
  79.     ignoreChildDiedEvents,
  80.     is32BitCompatible,
  81.     notHighLevelEventAware,
  82.     onlyLocalHLEvents,
  83.     notStationeryAware,
  84.     dontUseTextEditServices,
  85.     reserved,
  86.     reserved,
  87.     reserved,
  88.     393216,
  89.     393216
  90. };
  91.  
  92.  
  93. resource 'cfrg' (0) {
  94.    {
  95.       kPowerPC,                /* Target machine's Architecture. */
  96.       kFullLib,                /* This is not an update. */
  97.       kNoVersionNum,        /* Current version. */
  98.       kNoVersionNum,        /* Definition version. */
  99.       kDefaultStackSize,    /* Stack size of application. */
  100.       kNoAppSubFolder,        /* Not used here.  Can be the resource-id of an 'alis'
  101.                                resource.  Used to provide additional location
  102.                                to search for libraries. */
  103.       kIsApp,                /* This is an application (not a lib or drop-in). */
  104.       kOnDiskFlat,          /* This code fragment is on disk, in the data fork. */
  105.       kZeroOffset,            /* Offset of code into data fork. */
  106.       kWholeFork,           /* Code takes up all of data fork (can give a size). */
  107.       "AsmSample"           /* Name of application. */
  108.    }
  109. };
  110.  
  111.  
  112. resource 'vers' (1) {
  113.     0x1,
  114.     0x0,
  115.     beta,
  116.     0xd,
  117.     verUS,
  118.     "1.0b1",
  119.     "Version 1.0b1.  Copyright © 1994, Apple Computer, Inc."
  120. };